package com.mall.business.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mall.common.annotation.Excel;
import com.mall.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订单明细项对象 t_order_item
 *
 * @author ruoyi
 * @date 2025-03-30
 */
@Data
@TableName(value = "t_order_item")
@EqualsAndHashCode(callSuper = true)
public class TOrderItem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String orderItemId;
    /**
     * "订单order_no"
     */
    @Excel(name = "订单order_no")
    private String orderNo;
    /**
     * "产品ID"
     */
    @Excel(name = "产品ID")
    private String productId;
    /**
     * "购买东西的详细信息"
     */
    @Excel(name = "购买东西的详细信息")
    private String info;
    /**
     * "购物车产品个数"
     */
    @Excel(name = "购物车产品个数")
    private Long payNum;
    /**
     * "产品名称"
     */
    @Excel(name = "产品名称")
    private String productName;
    /**
     * "产品主图片路径"
     */
    @Excel(name = "产品主图片路径")
    private String image;
    /**
     * "产品价格"
     */
    @Excel(name = "产品价格")
    private BigDecimal price;
    /**
     * "用户Id"
     */
    @Excel(name = "用户Id")
    private String userId;
    /**
     * "商品总金额"
     */
    @Excel(name = "商品总金额")
    private BigDecimal totalPrice;
    /**
     * "评论状态： 1 未评价  0 已评价"
     */
    @Excel(name = "评论状态： 1 未评价  0 已评价")
    private String isComment;
    /**
     * "商品类型:0-普通，1-秒杀，2拼团 3-积分商城"
     */
    @Excel(name = "商品类型:0-普通，1-秒杀，2拼团 3-积分商城 ")
    private String productType;
    /**
     * "退款状态 处理退货状态: 1:退货处理中 2:退货成功 -3:退货失败"
     */
    @Excel(name = "售后状态")
    private String refundStatus;
    /**
     * "退款原因"
     */
    @Excel(name = "原因")
    private String refundReason;


    /**
     * "拼团活动Id"
     */
    @Excel(name = "拼团活动Id")
    private String ptActiveId;
    /**
     * "秒杀活动Id"
     */
    @Excel(name = "秒杀活动Id")
    private String seckillId;
    /**
     * "拼团Id"
     */
    @Excel(name = "拼团Id")
    private String pinkId;



}
